From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sat, 2 Nov 2024 20:02:24 -0400 Subject: Run prettier, make lint part of pre-commit --- ui/routes/(login)/invite/[invite]/+page.js | 2 +- ui/routes/(login)/invite/[invite]/+page.svelte | 49 +++++++++++++------------- 2 files changed, 26 insertions(+), 25 deletions(-) (limited to 'ui/routes/(login)/invite/[invite]') diff --git a/ui/routes/(login)/invite/[invite]/+page.js b/ui/routes/(login)/invite/[invite]/+page.js index e6664d2..ced109a 100644 --- a/ui/routes/(login)/invite/[invite]/+page.js +++ b/ui/routes/(login)/invite/[invite]/+page.js @@ -5,7 +5,7 @@ export async function load({ params }) { let response = await getInvite(invite); switch (response.status) { case 200: - let invite = response.data + let invite = response.data; return { invite }; break; case 404: diff --git a/ui/routes/(login)/invite/[invite]/+page.svelte b/ui/routes/(login)/invite/[invite]/+page.svelte index 7ae388a..8f4d1a4 100644 --- a/ui/routes/(login)/invite/[invite]/+page.svelte +++ b/ui/routes/(login)/invite/[invite]/+page.svelte @@ -1,34 +1,35 @@ {#await data} -
-

Loading invitation…

-
+
+

Loading invitation…

+
{:then { invite }} -
-

Hi there! {invite.issuer} invites you to the conversation.

-
- +
+

Hi there! {invite.issuer} invites you to the conversation.

+
+ {/await} -- cgit v1.2.3